package com.mine.modules.sys.domain.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Description: 用户角色
 */
@Data
@ApiModel("用户角色表单")
public class SysUserRoleDto implements Serializable{
	private static final long serialVersionUID = 1L;

	@ApiModelProperty(value = "角色id",required = true)
	private String roleId;

	@ApiModelProperty(value = "用户id集合",required = true)
	private List<String> userIdList;

	public SysUserRoleDto() {
		super();
	}

	public SysUserRoleDto(String roleId, List<String> userIdList) {
		super();
		this.roleId = roleId;
		this.userIdList = userIdList;
	}

}
